/* eslint-disable no-console */
const express = require("express");
const app = express();
const port = 7003;

app.listen(port, () => {
  console.log(`Mock serve listening at http://localhost:${port}`);
});

app.get("/login", (_, res) => {
  res.json({ code: 200, message: "success", data: { name: "test" } });
});

app.get("/logined", (_, res) => {
  res.json({ code: 200, message: "success", data: { name: "logined" } });
});
